package com.ruoyi.control.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.control.domain.MonkeyVehicleHistory;

/**
 * 猴车数据历史Mapper接口
 *
 * @author ruoyi
 * @date 2024-12-13
 */
public interface MonkeyVehicleHistoryMapper extends BaseMapper<MonkeyVehicleHistory> //修改
{
    /**
     * 查询猴车数据历史
     *
     * @param id 猴车数据历史主键
     * @return 猴车数据历史
     */
    public MonkeyVehicleHistory selectMonkeyVehicleHistoryById(String id);

    /**
     * 查询猴车数据历史列表
     *
     * @param monkeyVehicleHistory 猴车数据历史
     * @return 猴车数据历史集合
     */
    public List<MonkeyVehicleHistory> selectMonkeyVehicleHistoryList(MonkeyVehicleHistory monkeyVehicleHistory);

    /**
     * 新增猴车数据历史
     *
     * @param monkeyVehicleHistory 猴车数据历史
     * @return 结果
     */
    public int insertMonkeyVehicleHistory(MonkeyVehicleHistory monkeyVehicleHistory);

    /**
     * 修改猴车数据历史
     *
     * @param monkeyVehicleHistory 猴车数据历史
     * @return 结果
     */
    public int updateMonkeyVehicleHistory(MonkeyVehicleHistory monkeyVehicleHistory);

    /**
     * 删除猴车数据历史
     *
     * @param id 猴车数据历史主键
     * @return 结果
     */
    public int deleteMonkeyVehicleHistoryById(String id);

    /**
     * 批量删除猴车数据历史
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMonkeyVehicleHistoryByIds(String[] ids);

    void insertBatch(List<MonkeyVehicleHistory> monkeyVehicleHistoryList);
}
